package com.hawthorn.admin.repository;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hawthorn.admin.model.po.ShowUserApplyPO;
import com.hawthorn.admin.repository.provider.ShowUserApplySqlProvider;
import com.hawthorn.platform.repository.DBMapper;
import org.apache.ibatis.annotations.SelectProvider;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
 * @version v1.0.1
 * @Copyright: Copyright (c) $
 * @remark: TODO 演示账号申请表(base_show_user_apply) mapper层
 * @author:zhangzhexu
 * @date:2023/3/21$ 13:21$
 */
@Repository
public interface ShowUserApplyMapper extends DBMapper<ShowUserApplyPO>
{
  /**
   * @remark:演示账号维护主页面查询方法
   * @param: page
   * @param: conditions
   * @return: com.baomidou.mybatisplus.core.metadata.IPage<java.util.Map < java.lang.String, java.lang.Object>>
   * @author: zhangzx
   * @date: 2023/3/21 21:12
   * @version: 1.0.1
   * Modification History:
   * Date       Author       Version          Description
   * -----------------------------------------------------------
   * 2023/3/21  zhangzx       v1.0.1          init
   */
  @SelectProvider(ShowUserApplySqlProvider.class)
  IPage<Map<String, Object>> findShowUserApply(Page<Map<String, Object>> page, String conditions);

  @SelectProvider(ShowUserApplySqlProvider.class)
  Map<String, Object> findInventedCustomer();
}
